package yyh.jaccard.bean;

public class Inhosptial_idAndHerbmedPairBean {
	private String inhosptial_id;
	private String herbmedname;
	
	
	@Override
	public String toString() {
		return "Inhosptial_idAndHerbmedPair [inhosptial_id=" + inhosptial_id
				+ ", herbmedname=" + herbmedname + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((herbmedname == null) ? 0 : herbmedname.hashCode());
		result = prime * result
				+ ((inhosptial_id == null) ? 0 : inhosptial_id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Inhosptial_idAndHerbmedPairBean other = (Inhosptial_idAndHerbmedPairBean) obj;
		if (herbmedname == null) {
			if (other.herbmedname != null)
				return false;
		} else if (!herbmedname.equals(other.herbmedname))
			return false;
		if (inhosptial_id == null) {
			if (other.inhosptial_id != null)
				return false;
		} else if (!inhosptial_id.equals(other.inhosptial_id))
			return false;
		return true;
	}
	public String getInhosptial_id() {
		return inhosptial_id;
	}
	public void setInhosptial_id(String inhosptial_id) {
		this.inhosptial_id = inhosptial_id;
	}
	public String getHerbmedname() {
		return herbmedname;
	}
	public void setHerbmedname(String herbmedname) {
		this.herbmedname = herbmedname;
	}
	
	

}
